package command.commandImpl;

import command.Command;
import command.facility.Light;

/**
 * @author: zhouyang
 * @descrpition:
 * @time: 2019-05-26 16:31
 */
public class LightOnCommand implements Command {
    private Light light;

    public LightOnCommand(Light light) {
        this.light = light;
    }

    @Override
    public void execute() {
        this.light.LightOn();
    }

    @Override
    public void undo() {

    }
}
